package com.aistar.service;

import com.aistar.pojo.Dynamic;
import com.aistar.util.ServerResponse;

public interface DynamicService {
    ServerResponse add(Dynamic dynamic);
    ServerResponse modify(Dynamic dynamic);
    ServerResponse delete(Integer dynamicId);
    ServerResponse getById(Integer dynamicId);
    ServerResponse getByPage(Integer pageNum, Integer pageSize);
}
